package com.fire.user.service;


import com.baomidou.mybatisplus.service.IService;
import com.fire.user.model.User;

import java.util.Map;

/**
 * <p>
 * 用户表 新服务类
 * </p>
 *
 * @author raoyuxing
 * @since 2018-08-16
 */
public interface IUserServiceTwo extends IService<User> {

	/**
	 * 用户登录
	 * @param users
	 * @return
	 * @throws Exception
	 */
	Map<String, Object> loginUser(User users,String  TUrl)  throws Exception;



	/**添加用户
	 *
	 * @param users
	 * @throws Exception
	 */
	User addUser(User users,Map recordMap) throws Exception;

	/**
	 * 添加用户登录记录
	 * @param user
	 * @param name
	 * @param recordMap
	 */
	void addRecordLogin(User user, String name, Map recordMap);
}
